#include<iostream>
using namespace std;

void f(){
	int n = 0;
	cout<<n<<endl;
	n++;
	cout<<n<<endl;
	cout<<"------------"<<endl;
}
void S(){
	static int n = 0;
	cout<<n<<endl;
	n++;
	cout<<n<<endl;
	cout<<"------------"<<endl;
}
int main(){
	f();
	S();
	f();
	S();
	return 0;
	
} 
